package com.nova.scenic.projectlibs.util;

import android.annotation.SuppressLint;
import android.os.Bundle;
import android.view.View;
import android.widget.ListAdapter;
import android.widget.ListView;


import com.nova.scenic.projectlibs.R;
import com.nova.scenic.projectlibs.widget.CustomListView;

@SuppressLint("ValidFragment")
public class ListActivity extends BaseActivity {

	private CustomListView mListView;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.layout_list_fragment);
		mListView = (CustomListView) findViewById(R.id.id_listview_scenic_util_1);
	}

	public void setListAdapter(ListAdapter adapter){
		mListView.setAdapter(adapter);
	}
	
	public ListView getListView(){
		return mListView;
	}
	
	public View getMainView(){
		return findViewById(R.id.id_rlayout_main_container);
	}
	
}
